package com.toy.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品基础信息表
 * </p>
 *
 * @author zcy
 * @since 2025-10-31
 */
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 类型(高达/手办/模型等)
     */
    private String type;

    /**
     * 品牌(万代/寿屋等)
     */
    private String brand;

    /**
     * 系列(MG/PG/RG等)
     */
    private String series;

    /**
     * 比例(1/144,1/100等)
     */
    private String scale;

    /**
     * 成色(全新/9成新/有损)
     */
    private String condition;

    /**
     * 盒子状况
     */
    private String boxCondition;

    /**
     * 是否绝版
     */
    private Byte isDiscontinued;

    /**
     * 详细描述
     */
    private String description;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getBoxCondition() {
        return boxCondition;
    }

    public void setBoxCondition(String boxCondition) {
        this.boxCondition = boxCondition;
    }

    public Byte getIsDiscontinued() {
        return isDiscontinued;
    }

    public void setIsDiscontinued(Byte isDiscontinued) {
        this.isDiscontinued = isDiscontinued;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Product{" +
        "id = " + id +
        ", name = " + name +
        ", type = " + type +
        ", brand = " + brand +
        ", series = " + series +
        ", scale = " + scale +
        ", condition = " + condition +
        ", boxCondition = " + boxCondition +
        ", isDiscontinued = " + isDiscontinued +
        ", description = " + description +
        ", createTime = " + createTime +
        ", updateTime = " + updateTime +
        "}";
    }
}
